package com.pro.springbootshop.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.util.List;
@Data
public class MainClasses {
    @TableId(type = IdType.AUTO)
    private Integer mainClassId;
    private String mainClassName;
    @TableField(exist = false)
    private List<OtherClasses> otherClasses;

}
